int sample_weights(int num_wts, double * p_wts);

int sample_log_weights(int num_wts, double * p_wts);
